#pragma once 

#include <filesystem>
#include <fstream>
#include <string>
#include <vector>

namespace ycspice {

    std::size_t filesize(std::ifstream& file);

    std::string read_file(const std::filesystem::path& file_path);
    
    auto read_file_lines(const std::filesystem::path& file_path) -> std::vector<std::string>;

    auto string_lowercase(std::string_view input) -> std::string;

    auto string_trim(std::string_view s) -> std::string_view;

    auto string_split_space(std::string_view s) -> std::vector<std::string_view>;

}